package com.naiterui.ehp.bs.file.config;

import java.util.List;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Data;

/**
 * 白名单和黑名单
 * 
 * @author yangfuya
 * @since 2021/9/13
 */
@Data
@Component
@ConfigurationProperties(prefix = "file")
public class WhiteAndBlackListConfig {
    /**
     * 白名单
     */
    private List<String> whitelist;
    /**
     * 黑名单
     */
    private List<String> blacklist;
}
